package com.atwisdom.star.core.bsl.business;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.atwisdom.star.core.bsl.business.entity.ApiConfigInfo;
import com.atwisdom.star.core.dao.pojo.functionClass.ApiSendData;

import java.util.List;

public interface DataChangeBslService {


    /**
     * 给第三方传输数据业务数据
     * @return
     */
    boolean needTrans(String className, String model,String apiOperation);

    ApiConfigInfo getApiConfigInfo(String className, String model, String opType);

    void sendData(ApiSendData apiSendData);

    void apiSendDataBatchSave(List<Long> idList, String className, String model, String opType,Boolean hierFlag);

    void dealSendDataForInstance(JSONObject jsonObject, String model, String opType,Boolean hierFlag);


}
